package com.cdhkppm.service;

import com.alibaba.fastjson.JSONArray;
import com.cdhkppm.dto.CustomPlusTaskSaveDTO;
import com.hustcad.plm.rpm.model.dto.active.PlusTaskSaveDTO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * @author yfq
 * @apiNote
 */
public interface ExportTaskToExcelService {

     void  exportTaskToExcel(HttpServletRequest request, HttpServletResponse response,
                             List<CustomPlusTaskSaveDTO> exportUserTaskDTOList,String pjoName)throws
             IOException;

    void importSubTaskFromExcel(MultipartFile file, List<CustomPlusTaskSaveDTO> tasksJson);

    void importDevSubSubTaskFromExcel(MultipartFile file, List<CustomPlusTaskSaveDTO> exportUserTaskDTOList);
}
